package com.kiwilss.aopdemo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.kiwilss.aopdemo.R
import com.kiwilss.aopdemo.bean.MainBean

/**
 * @author : Administrator
 * e-mail : kiwilss@163.com
 * time   : 2021/02/01
 *  desc   :
 */
class MainAdapter: BaseQuickAdapter<MainBean,BaseViewHolder>(R.layout.item_main) {
    override fun convert(holder: BaseViewHolder, item: MainBean) {
        holder.setText(R.id.tvItemMainName,item.name)

    }
}